﻿
namespace gbL.NetBoard.Helpers
{
    /// <summary>
    /// Listeners may specify desired behaviour upon a message reaching the blackboard which they 
    /// are listening for. Messages can be left on the board, or an attempt can be made to take the
    /// message off the board. If a setting of MustTake is specified, the adapter will attempt to 
    /// take the message off the board, and will only notify the object of the message if it was 
    /// successful. This is a mechanism to allow a single listener to gain exclusive access to 
    /// the message.
    /// </summary>
    public enum ListenerMessageBehaviours : int
    {
        MustTake = 0,
        Take = 1,
        LeaveMessage = 2
    }
}
